//
//  QBRequest.h
//  Doctor
//
//  Created by 阳光 on 16/9/14.
//  Copyright © 2016年 阳光. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QBRequest : NSObject

// 注册
+(void)RegisterWithDic:(NSDictionary *)dic Success:(void (^)(id))success
               failure:(void (^)(id))failure;

// 登录
+(void)LoginWithDic:(NSDictionary *)dic Success:(void (^)(id))success
            failure:(void (^)(id))failure;

// 获取国家信息
+(void)GetCountryInfoWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                     failure:(void (^)(id))failure;

// 获取已存在的地区
+(void)GetAreaInfoWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                  failure:(void (^)(id))failure;

// 获取医院列表
+(void)GetHospitalInfoWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                      failure:(void (^)(id))failure;
// 忘记用户密码
+(void)ForgetUserNameOrPasswordWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                               failure:(void (^)(id))failure;

// 修改密码
+(void)ModifyPdWithDic:(NSDictionary *)dic Success:(void (^)(id))success
               failure:(void (^)(id))failure;

// 重置密码
+(void)ResetPdWithDic:(NSDictionary *)dic Success:(void (^)(id))success
              failure:(void (^)(id))failure;

// 获取会员个人信息
+(void)UserInfoWithDic:(NSDictionary *)dic Success:(void (^)(id))success
               failure:(void (^)(id))failure;

// 获取预约时间详情
+(void)OrderTimeListWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                    failure:(void (^)(id))failure;

// 添加取消视频预约
+(void)AddOrderTimeWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                   failure:(void (^)(id))failure;


// 个人简介修改
+(void)ModifyDoctorInfoProfileWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                              failure:(void (^)(id))failure;

// 获取名医发布列表
+(void)DoctorPublicListWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                       failure:(void (^)(id))failure;
// 上传认证资料
+(void)ConfirmWithDic:(NSDictionary *)dic Success:(void (^)(id))success
              failure:(void (^)(id))failure;

// 在线模式开启或者关闭
+(void)OnlineOrOutlineSwitchWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                            failure:(void (^)(id))failure;

// 获取医生所在的医院
+(void)DoctorHospitalListWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                         failure:(void (^)(id))failure;

// 获取名医发布列表详情
+(void)DoctorPublicListDetailWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                             failure:(void (^)(id))failure;

// 获取评论列表
+(void)CommentListWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                  failure:(void (^)(id))failure;

// 名医发布新增内容
+(void)AddNewDoctorPublicWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                         failure:(void (^)(id))failure;

// 上传认证资料
+(void)ConfirmInfoUploadWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                        failure:(void (^)(id))failure;

// 取消上传认证资料
+(void)CancelConfirmInfoUploadWithDic:(NSDictionary *)dic Success:(void (^)(id))success
                        failure:(void (^)(id))failure;

// 添加医嘱
+(void)AddDoctorAdviceWithDic:(NSDictionary *)dic Success:(void (^)(id))success failure:(void (^)(id))failure;

// 获取就诊中的医嘱
+(void)GetDoctorAdviceVisitPatientWithDic:(NSDictionary *)dic Success:(void (^)(id))success failure:(void (^)(id))failure;

// 获取就诊列表
+(void)GetVisitPatientListWithDic:(NSDictionary *)dic Success:(void (^)(id))success failure:(void (^)(id))failure;

// 获取初诊就诊病例
+(void)GetPatientInfoWithDic:(NSDictionary *)dic Success:(void (^)(id))success failure:(void (^)(id))failure;


// 用户执照图片上传
+(void)ConfirmInfoUserCodeUrlUploadWithImage:(UIImage *)image userId:(NSString *)userId success:(void (^)(id))success failure:(void (^)(id))failure;

// 名医发布新增上传图片
+(void)AddNewDoctorPublicUploadPhotoWithImage:(UIImage *)image userId:(NSString *)userId success:(void (^)(id))success failure:(void (^)(id))failure;

// 用户修改头像
+(void)ConfirmInfoUserHeadUrlUploadWithImage:(UIImage *)image userId:(NSString *)userId success:(void (^)(id))success failure:(void (^)(id))failure;

// 七牛上传图片:
+ (void)UploadImageToQiNiu:(UIImage *)uploadImage userId:(NSString *)userId success:(void (^)(id))success failure:(void (^)(id))failure;

// 图片修改
+(void)UploadImageToService:(NSString *)image userId:(NSString *)userId urlParam:(NSString *)urlParam success:(void (^)(id))success failure:(void (^)(id))failure;
// 执照图片修改
+(void)UploadImageUserCodeUrlToService:(NSString *)image userId:(NSString *)userId urlParam:(NSString *)urlParam success:(void (^)(id))success failure:(void (^)(id))failure;

//上传医生执照图片(1张);
+(void)UploadImageUserCodeUrlToQNAndService:(UIImage *)uploadImage userId:(NSString *)userId urlParam:(NSString *)urlParam success:(void (^)(id))success failure:(void (^)(id))failure;

//上传图片(1张);
+(void)UploadImageToQNAndService:(UIImage *)uploadImage userId:(NSString *)userId urlParam:(NSString *)urlParam success:(void (^)(id))success failure:(void (^)(id))failure;

// 获取今日手术
+(void)GetTodayDoneWithDocID:(NSString *)docID startTag:(NSString *)startTag endTag:(NSString *)endTag Success:(void (^)(id))success failure:(void (^)(id))failure;


//获取今日预约
+(void)GetTodayFirstConsultWithDocID:(NSString *)docID startTag:(NSString *)startTag endTag:(NSString *)endTag Success:(void (^)(id))success failure:(void (^)(id))failure;

//医生确认视频订单
+(void)DoctorSureThisOrderWithDocID:(NSString *)docID orderId:(NSString *)orderId Success:(void (^)(id))success failure:(void (^)(id))failure;

// 版本更新
+(void)IsNewVersionWithSuccess:(void (^)(id))success failure:(void (^)(id))failure;










@end
